//
//  RepairTypeSelectView.h
//  ICrEAM
//
//  Created by Cty on 2016/11/02.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol RepairTypeDelegate <NSObject>

@optional
//- (NSArray *)getSelectedData;
- (BOOL)canAddItem:(NSString *)itemStr;
- (BOOL)canRemoveItem:(NSString *)itemStr;

@end

@interface RepairTypeSelectView : UIView

@property (nonatomic, weak) id<RepairTypeDelegate> delegate;

- (NSMutableArray *)getSelectedData;

+ (instancetype)creatSelectViewWithFrame:(CGRect)frame andSelectedData:(NSMutableArray *)selected andGetCar:(BOOL)isGetCar;
+ (instancetype)creatSelectViewOtherWithFrame:(CGRect)frame andSelectedData:(NSMutableArray *)selected;

@end
